/*
 * @Date         : 2023-11-02 21:04:41
 * @LastEditTime : 2023-11-25 14:32:50
 * @description  :
 */
// test user request api
const http = uni.$u.http;

// test get api
export function getUserInfo(params) {
  return http.get("/http/getUserInfo", params);
}

// test post api
export function postGoodsInfo(params) {
  return http.post("/http/goodInfos", params);
}
export function getToken(params) {
  return http.get("/getToken", params);
}
export function get_banner(params) {
  return http.get("/get_banner", { params });
}
export function get_activity(params) {
  return http.post("/get_activity", params);
}
export function course_list(params) {
  return http.post("/course_list", params);
}
export function get_course_details(params) {
  return http.post("/get_course_details", params);
}
export function wx_mini_login(params) {
  return http.post("/wx_mini_login", params);
}
export function addSign(params) {
  return http.post("/addSign", params);
}
export function getMystudyLog(params) {
  return http.post("/getMystudyLog", params);
}
export function getUserSign(params) {
  return http.post("/getUserSign", params);
}
export function cancelSign(params) {
  return http.post("/cancelSign", params);
}
export function get_cate(params) {
  return http.get("/get_cate", { params });
}
export function get_school(params) {
  return http.get("/get_school", { params });
}
export function course_chapters(params) {
  return http.post("/course_chapters", params);
}
export function getComment(params) {
  return http.post("/getComment", params);
}
export function addComment(params) {
  return http.post("/addComment", params);
}
export function replyComment(params) {
  return http.post("/replyComment", params);
}
export function addScore(params) {
  return http.post("/addScore", params);
}
export function addCollect(params) {
  return http.post("/addCollect", params);
}
export function getUserCollect(params) {
  return http.post("/getUserCollect", params);
}
export function cancelCollect(params) {
  return http.post("/cancelCollect", params);
}
export function authUserInfo(params) {
  return http.post("/authUserInfo", params);
}
export function delComment(params) {
  return http.post("/delComment", params);
}
export function delreply(params) {
  return http.post("/delreply", params);
}
export function subMarkResult(params) {
  return http.post("/subMarkResult", params);
}
export function subStudyResult(params) {
  return http.post("/subStudyResult", params);
}
export function updataUserInfo(params) {
  return http.post("/updataUserInfo", params);
}
export function get_course_work(params) {
  return http.get("/get_course_work", { params });
}
export function course_work_details(params) {
  return http.get("/course_work_details", { params });
}
export function getUserinfo(params) {
  return http.get("/getUserinfo", { params });
}
export function getTeacherRank(params) {
  return http.get("/getTeacherRank", { params });
}
